$('#add_image').append('<%=j render partial: "hotel_images/form", locals: { :hotel_image => HotelImage.new, :hid => params[:hid] } %>');